package com.duoduo.modules.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试类
 * @Author:
 * @CreateTime: 2022-12-17  14:11
 * @Description:
 * @Version: 1.0
 */
@RestController
@RequestMapping("test")
@Api(tags = "测试接口")
public class TestController {

    @RequestMapping("login")
    @ApiOperation(value = "登录测试")
    public String login() {
        return "成功!";
    }
}
